package com.lantosec.hmrp.modules.warning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.modules.warning.entity.WarningRule;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 * 预警规则 服务类
 * </p>
 *
 * @author AutoCode
 * @since 2020-05-19
 */
public interface IWarningRuleService extends IService<WarningRule> {

    String create(Map<String, Object> map, HttpServletRequest request);

    Map<String, Object> queryDetails(String id);

    String updateInfo(Map<String, Object> map,HttpServletRequest request);

    void changeState(String id, Integer state);

}
